package com.fastjrun.common;

public class RestException extends RuntimeException {
	
	private static final long serialVersionUID = 286230051559125821L;
	private String code;

    private String msg;

    public RestException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}